<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>留言列表</title>
    <link href="style.css" rel="stylesheet">
</head>
<body>
<div id="app" v-cloak>
    <div class="message">
        <v-input v-model="username"></v-input>
        <v-textarea ref="message" v-model="message"></v-textarea>
        <button @click="handleSend">发布</button>
    </div>
    <list :list="list" @reply="handleReply"></list>
</div>
<script src="https://unpkg.com/vue/dist/vue.min.js"></script>
<script src="input.js"></script>
<script src="list.js"></script>
<script src="index.js"></script>
</body>
</html>